//
//  HJSearchNavBar.h
//  Sneakers
//
//  Created by 胡光健 on 2017/10/20.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HJSearchNavBar;
@protocol searchBarDelegate <NSObject>

@optional
-(void)searchBarTextReturnWithText:(NSString *)text;
-(void)searchBarBackBtnClicked;
-(void)searchBtnClicked;
@end
@interface HJSearchNavBar : UIView
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *textW;
@property (weak, nonatomic) IBOutlet UIButton *backBtn;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *btnW;
@property(nonatomic,assign)id <searchBarDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIButton *searchBtn;
@property (weak, nonatomic) IBOutlet UITextField *searchText;
@end
